import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'babel-polyfill'
import fastclick from 'fastclick'
// 引入vant
import { Swipe, SwipeItem, Image, Lazyload } from 'vant'
// 全局引用
Vue.use(Swipe) // 轮播
  .use(SwipeItem) // 轮播
  .use(Image) // 图片
  .use(Lazyload) // 图片懒加载

fastclick.attach(document.body)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
